package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MallBarrierModel = (*customMallBarrierModel)(nil)

type (
	// MallBarrierModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMallBarrierModel.
	MallBarrierModel interface {
		mallBarrierModel
	}

	customMallBarrierModel struct {
		*defaultMallBarrierModel
	}
)

// NewMallBarrierModel returns a model for the database table.
func NewMallBarrierModel(conn sqlx.SqlConn) MallBarrierModel {
	return &customMallBarrierModel{
		defaultMallBarrierModel: newMallBarrierModel(conn),
	}
}
